#!usr/bin/env python  
#@time: 2018/01/22 
from collections import Counter
c = Counter()
for ch in 'programming':
    c[ch] = c[ch]+1

print(c)
